package org.example.cloud.service.implementation;

import org.example.cloud.bean.File;
import org.example.cloud.bean.Folder;

import java.io.IOException;
import java.util.List;

public interface FileFolderService {

    List<Folder> getFolders(String username);
    List<File> getFiles(String username);
    void initFolder(String username) throws IOException;
    boolean createFolder(String username, String parentPath, String dirName);
    boolean deleteFolder(String username, String folderPath);
    boolean deleteFile(String username, String filePath);
}
